<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<link href="css/common.css" type="text/css" rel="stylesheet" th:href="@{/css/common.css}"/>

<body>
    <div class="span24" th:fragment="menu">
        <ul class="mainNav">
            <li>
                <a href="/sellerFornt/index">首页</a>
                |
            </li>
                <li th:each="category:${categoryList}">
                    <a th:href="@{'/sellerProduct/findProduct?page=1&amp;row=4&amp;categoryType='+${category.categoryType}}" th:text="${category.categoryName}"></a>
                    |
                </li>
        </ul>
    </div>
</body>
</html>